wstruct node {
w int value;
w node *next;
w};
wint main() {
w node *root; This will be
the unchanging 1st node
w root=new node; Now root
points to a node struct
w root->next=NULL; //The node root
points to has its
w// next pointer set equal to NULL
w root->value=5; // By using the
-> operator, you
w// can modify the node
w return 0; //a struct
(root in this case) points to.
w}